package com.xunker.appointment.repository;

import com.xunker.appointment.model.schedule.Schedule;
import org.springframework.data.mongodb.repository.MongoRepository;

//MDBS部门查询持久层
public interface ScheduleRepository extends MongoRepository<Schedule,Long> {

    void deleteScheduleByIdAndHospitalCode(Object id, Object hospitalCode);

    Schedule getScheduleByIdAndHospitalCode(Object id, Object hospitalCode);
}
